<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>13_数组的删-尾部删</title>
    </head>
    <body>
        <script>
            var arr = [1,2,3,4,5,666];

            // arr.length--;

            arr.length -= 1;

            console.log(arr);
        </script>
    </body>
</html>